package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecg.common.system.base.entity.IdBaseEntity;

import java.io.Serializable;

@Data
@TableName("sys_user_depart")
public class SysUserDepart extends IdBaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**用户id*/
	private String userId;
	/**部门id*/
	private String depId;
	public SysUserDepart(String id, String userId, String depId) {
		super();
		super.setId(id);
		this.userId = userId;
		this.depId = depId;
	}

	public SysUserDepart(String id, String departId) {
		this.userId = id;
		this.depId = departId;
	}
}
